package com.mc.lp.database.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.mc.lp.database.entity.SportsRecordEntity;

/**
 * 
 * @author deepak
 * 
 */
public interface ISportRecordDAO extends IGenericDAO<SportsRecordEntity, Long> {

	public List<SportsRecordEntity> fetchDetailsByEntityIdGrade(Long entityId, int gradeId);
	
	public List<SportsRecordEntity> fetchDetailsByEntityId(Long entityId);

	public void saveSports(SportsRecordEntity e);
	
	public List<SportsRecordEntity> fetchSportsByGrades(Long studentEntity, List<Integer> gradeValueList) throws DataAccessException ;

}
